#include <iostream>
#include <fstream>
#include <string>

using namespace std;

// $ ./a.out filename
int main(int argc, char **argv)
{
        if (argc != 2) {
                cerr << "argment..." << endl;
        }

        ifstream is(argv[1]);
        string s;

        while (getline(is, s)) {
                cout << s << endl;
        }

        return 0;
}
